package com.peas.platform.module.icims.contract.initial.controller.vo;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.vo.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel("初始合同验收条件")
public class ContractInitialInspectionVo extends BaseVo {

    // 【初始合同表】
    @Comment(value = "合同ID")
    @ApiModelProperty(value = "合同ID")
    private Long contractInitialId;

    @Comment(value = "验收内容")
    @ApiModelProperty(value = "验收内容")
    @Size(max = 1000, message = "验收内容不能超过1000个字符")
    private String content;

    // 【用户表】
    @Comment(value = "验收条件负责人用户ID")
    @ApiModelProperty(value = "验收条件负责人用户ID")
    @NotNull(message = "验收条件负责人用户ID不能为空")
    private Long principalUserId;

    @Comment(value = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

}
